package com.ids.service;

import java.util.List;
import java.util.Set;
import com.ids.bean.AttendanceType;
import com.ids.bean.UserCreationBean;
import com.ids.daoManager.AttendanceScreenDaoManager;
import com.ids.daoManager.UserCreationDaoManager;
import com.ids.util.Utlity;

public class UserCreationService {

	private static UserCreationService instance = new UserCreationService();

	public static UserCreationService getInstance() {
		return instance;
	}
//
//	public List<AttendanceType> getAttendanceType() {
//		List<AttendanceType> attendanceType = AttendanceScreenDaoManager
//				.getInstance().getAttendanceType();
//		return attendanceType;
//	}

	public Set<String> createUserAccount(UserCreationBean usercreationBean) {
		return UserCreationDaoManager.getInstance().createUserAccount(
				usercreationBean);
	}
	public void sendMail(String email, String empCode, String pwd ) {
		Utlity.sendMailAccountConfirmation(email, empCode, pwd);
	}
}
